package com.hexiang.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author h01463
 * @version 1.0
 * @date 2024/8/7 14:19
 */
@FeignClient(name = "service-provider",url="http://localhost:8082",fallback = HelloFallbackClient.class)
public interface HelloClient {

    @GetMapping("/books")
    String sayHello();
}
